package com.example.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;

/**
 * 宠物用品订单实体炎对应goods_orders表
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("goods_orders")
public class GoodsOrders {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("order_no")
    private String orderNo;

    @TableField("user_id")
    private Integer userId;

    @TableField("shop_id")
    private Integer shopId;

    @TableField("goods_id")
    private Integer goodsId;

    @TableField("goods_name")
    private String goodsName;

    @TableField("goods_image")
    private String goodsImage;

    @TableField("goods_number")
    private Integer goodsNumber;

    @TableField("price")
    private BigDecimal price;

    @TableField("pickup_name")
    private String pickupName;

    @TableField("pickup_address")
    private String pickupAddress;

    @TableField("pickup_phone")
    private String pickupPhone;

    @TableField("status")
    private String status;

    @TableField("create_time")
    private String createTime;
}